var sites;
sites = ["Google", "Runoob", "Taobao"];
console.log(sites[0]);
console.log(sites[1]);
var arr_names = new Array(4);
for (var i = 0; i < arr_names.length; i++) {
    arr_names[i] = i * 2;
    console.log(arr_names[i]);
}
var arr = [12, 13];
var x = arr[0], y = arr[1];
console.log(x);
console.log(y);
var j;
var nums = [1001, 1002, 1003, 1004];
for (j in nums) {
    console.log(nums[j]);
}
var multi = [[1, 2, 3], [23, 45, 67]];
console.log(multi[0][0]);
console.log(multi[1][1]);
var sites1 = new Array("Google", "Runoob", "Taobao", "Facebook");
function disp(arr_sites) {
    for (var i = 0; i < arr_sites.length; i++) {
        console.log(arr_sites[i]);
    }
}
disp(sites1);
function disp1() {
    return new Array("Google", "Runoob", "Taobao", "Facebook");
}
var sites2 = disp1();
for (var ii in sites2) {
    console.log(sites2[ii]);
}
sites2.forEach(function (value) {
    console.log(value);
});
